package FileUpload

import "mime/multipart"

type uploader interface {
	UploadFile(file *multipart.FileHeader) (string, error)
}

func NewUploaderFactory(folder string, filename string, ext string) uploader {
	uploadType := "local"
	switch uploadType {
	case "local":
		return NewLocal(folder, filename, ext)
	}

	return nil
}
